module BidsHelper
  def cap_receipt_column(record)
    number_with_delimiter(record.cap_receipt)
  end
  
  def cap_spend_column(record)
    number_with_delimiter(record.cap_spend)
  end
  
  def cap_retail_spend_column(record)
    number_with_delimiter(record.cap_retail_spend)
  end
  
  # Reformat the calculated value for sum 
  def render_cap_receipt_sum(value)
  number_with_delimiter(value)
  end
  
  def render_cap_spend_sum(value)
  number_with_delimiter(value)
  end
  
  def render_cap_retail_spend_sum(value)
  number_with_delimiter(value)
  end
  
end
